package com.pxst.bank.req;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pxst.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "银行-编辑 请求类")
public class BankUpdateReq{

    @ApiModelProperty(value = "最大充值")
    private BigDecimal fiMax;

    @ApiModelProperty(value = "最小充值")
    private BigDecimal fiMin;

    @ApiModelProperty(value = "最大代付")
    private BigDecimal foMax;

    @ApiModelProperty(value = "最小代付")
    private BigDecimal foMin;

    @ApiModelProperty(value = "最大下发")
    private BigDecimal fxMax;

    @ApiModelProperty(value = "最小下发")
    private BigDecimal fxMin;

    @ApiModelProperty(value = "最大内转")
    private BigDecimal trMax;

    @ApiModelProperty(value = "最小内转")
    private BigDecimal trMin;

    @ApiModelProperty(value = "前缀备注")
    private String note;

    @ApiModelProperty(value = "状态 1.Available(可用) 0.Suspended(暂停) BS200")
    private Integer status;

    @ApiModelProperty(value = "更新人")
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private String updater;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill= FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date updatedAt;
}
